/**
 * 
 */
package com.google.code.netz.wfe.model;

import com.google.code.netz.wfe.api.WorkflowException;

/**
 * @author <a href='mailto:rahul.thakur.xdev@gmail.com'>Rahul Thakur</a>
 * @since 1.0
 * @version $Id$
 */
public interface IPetriNetEntityProcessor<T extends IPetriNetEntity<?>> {

	/**
	 * Processes a specified {@link IPetriNetEntity}.
	 * 
	 * @param entity
	 * @throws WorkflowException
	 */
	public void/* TODO: Should we return some kind of RESULT Object here? */process(T entity) throws WorkflowException;
}
